package com.t.bricks.bussiness.db.entity.prizemanage;

import com.t.bricks.bussiness.db.entity.prizemanage.base.PrizeManageBase;

/**
 * 奖金管理'PrizeManage'表扩展实体类
 * 注意:可根据需要创建不同的多个扩展实体类,而不是把所有的扩展属性都集中到一个类中
 * @author HuangXinBian
 */
public class PrizeManage extends PrizeManageBase {
	
	private static final long serialVersionUID = -1L;// 使用rmi时需修改

	/**
	 * 复制对象
	 * @param source 数据源
	 * @return PrizeManage
	 */
	public static PrizeManage copy(PrizeManage source) {
		if (null == source) {
			return null;
		}
		
		PrizeManage target = new PrizeManage();
		target.setsId(source.getsId());
		target.setsTitle(source.getsTitle());
		target.setdDate(source.getdDate());
		target.setmSumMoney(source.getmSumMoney());
		target.setmUseMoney(source.getmUseMoney());
		target.setmSurplusMoney(source.getmSurplusMoney());
		target.setiPersionCount(source.getiPersionCount());
		target.setsMemo(source.getsMemo());
		target.setsCreator(source.getsCreator());
		target.setdCreateDate(source.getdCreateDate());
		target.setsModifieder(source.getsModifieder());
		target.setdModifiedDate(source.getdModifiedDate());
		target.setiState(source.getiState());
		target.setiIndex(source.getiIndex());
		target.setiVersion(source.getiVersion());

		return target;
	}
	
	/**
	 * 克隆对象
	 * @return PrizeManage
	 */
	@Override
	public PrizeManage clone() {
		return copy(this);
	}
	
}
